<?php
return array(
    "id" => "USR",
    "rd" => "SELECT * FROM vfs_users_sessions WHERE SSN='%s' AND SSN_TIME>'%d'",
    "up" => "UPDATE vfs_users_sessions SET SSN_TIME='%d' WHERE SSN='%s'",
    "wr" => "REPLACE INTO vfs_users_sessions SET SSN='%s', USR='%s', SSN_ADDR='%s', SSN_DATA='%s', SSN_TIME='%d'",
    "wg" => "REPLACE INTO vfs_users_sessions SET SSN='%s', SSN_ADDR='%s', SSN_DATA='%s', SSN_TIME='%d'",
    "ds" => "DELETE FROM vfs_users_sessions WHERE SSN='%s'",
    "gr" => "INSERT INTO vfs_users_sessions_logs(SSN,USR,SSN_ADDR,SSN_DATA,SSN_TIME,SSN_DATE) SELECT SSN,USR,SSN_ADDR,SSN_DATA,SSN_TIME,SSN_DATE vfs_users_sessions WHERE SSN_TIME<'%d' AND USR IS NOT NULL",
    "gc" => "DELETE FROM vfs_users_sessions WHERE SSN_TIME<'%d'"
);
?>